Skip to content

Conversation

waywardmonkeys
Copy link
Collaborator

As of Rust 1.62, enums can use #[derive(Default)].

See rust-lang/rust#94457.

As of Rust 1.62, enums can use `#[derive(Default)]`.

See <rust-lang/rust#94457>.
Copy link
Collaborator

@alerque alerque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL, I can apply this to a few of my own projects ;-)

@alerque alerque merged commit 704e4ae into projectfluent:main May 6, 2024
@waywardmonkeys waywardmonkeys deleted the derive-default-enums branch May 7, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants